<div class='listagem'>
    <h1>Listing transportes</h1>
    
    <table>
        <tr>
            <th>Created at</th>
            <th>Ended at</th>
            <th>Ndt</th>
            <th>Transp</th>
            <th>Uf</th>
            <th>Pares</th>
            <th>Cxs</th>
            <th>Tipo</th>
            <th>M</th>
            <th>Peso</th>
            <th>Box</th>
            <th>Status</th>
        </tr>
        
        <% for transporte in @transportes %>
        <tr>
            <td><%=h transporte.created_at %></td>
            <td><%=h transporte.ended_at %></td>
            <td><%=h transporte.ndt %></td>
            <td><%=h transporte.transp %></td>
            <td><%=h transporte.uf %></td>
            <td><%=h transporte.pares %></td>
            <td><%=h transporte.cxs %></td>
            <td><%=h transporte.tipo %></td>
            <td><%=h transporte.m %></td>
            <td><%=h transporte.peso %></td>
            <td><%=h transporte.box %></td>
            <td><%=h transporte.status %></td>
            <td><%= link_to 'Show', transporte_path(transporte) %></td>
            <td><%= link_to 'Edit', edit_transporte_path(transporte) %></td>
            <td><%= link_to 'Destroy', transporte_path(transporte), :confirm => 'Are you sure?', :method => :delete %></td>
        </tr>
        <% end %>
    </table>
</div>

<br />

<%= link_to 'New transporte', new_transporte_path %>